package com.两个链表相加;

public class Test {

	public static void main(String[] args) {
		double end1 = 342;
		double end2 = 465;
		double end = end1 + end2;
		System.out.println(end);
		
		
		while((int)end>0) {
			int num = (int)(end%10);
			System.out.println(num);
			System.out.println(end);
			end=end/10;
		}
	}

}
